package cn.dancepeak.role.domain;

import cn.dancepeak.system.domain.Menu;
import com.fasterxml.jackson.annotation.JsonInclude;
import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;

import java.util.ArrayList;
import java.util.List;

@Data
@NoArgsConstructor
@AllArgsConstructor
public class Role {
    private Long id;
    private String name;
    private String sn;//角色编码

    //接收前端传递的菜单和权限id
    private List<Long> menuIds;
    private List<Long> permissionIds;

}
